﻿using Abp.Application.Services.Dto;
using shenghua.Basics.ShippingTemplateSetting.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shenghua.Basics.ShippingTemplateSetting
{
    public interface IShippingTemplateAppService
    {
        Task<ShippingTemplateDto> Create(CreateShippingTemplateDto input);
        Task<ShippingTemplateDto> Update(UpdateShippingTemplateDto input);
        Task Delete(EntityDto input);
        Task<List<ShippingTemplateDto>> GetAll();
        Task SetEnabled(EntityDto input);
        Task SetDisabled(EntityDto input);
        Task SetTemplateType(UpdateShippingTemplateTypeDto input);
        Task SetAreas(UpdateShippingTemplateAreasDto input);
        Task SetFreeShipping(UpdateShippingTemplateFreeShippingDto input);
        Task SetFreeShippingConditions(UpdateShippingTemplateFreeShippingConditionsDto input);
    }
}
